<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ page import="java.util.ArrayList, modele.Competition" %>
<%
	ArrayList<Competition> competitions = (ArrayList<Competition>)request.getAttribute("competitions");
%>

<select name="competitionsArticle" id="competitionsArticle"> 
	<option value="0">choisissez une competition</option>

	<%
	for(Competition c : competitions){
	%>
		<option value="<%=c.getId() %>"><%=c.getName() %></option>
	<%
	}
	%>
	<option value="-1">aucune competition</option>
</select>
